package com.bbzn.device.client.service;

import java.util.List;
import com.bbzn.device.client.dataobject.Flow;
import com.bbzn.device.client.dataobject.MiddleFlowNode;
import com.bbzn.device.client.dto.process.FlowDTO;
import com.bbzn.device.client.dto.process.MiddleFlowNodeDTO;
import com.bbzn.device.client.utils.PageInfo;

public interface FlowService {


    int deleteByPrimaryKey(Long flowId);

    int insert(Flow record);

    int insertOrUpdate(Flow record);

    int insertOrUpdateSelective(Flow record);

    int insertSelective(Flow record);

    Flow selectByPrimaryKey(Long flowId);

    int updateByPrimaryKeySelective(Flow record);

    int updateByPrimaryKey(Flow record);

    List<Flow> findByAll(Flow flow);

    int updateBatch(List<Flow> list);

    int updateBatchSelective(List<Flow> list);

    int batchInsert(List<Flow> list);

    PageInfo<Flow> selectPageBySelective(FlowDTO record);


    Flow findOneByOrderNo(String orderNo);
}


